package com.dmai.capacity.platform.common.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageResultData<T> implements Serializable {
    private static final long serialVersionUID = -275582248840137389L;
    /**
     * 总页码
     */
    private int pages;
    /**
     * 总数
     */
    private Long total;
    /**
     * 当前页结果集
     */
    private List<T> records;
}
